package com.lianxian.xindong.home.di.component;

import dagger.BindsInstance;
import dagger.Component;

import com.hxb.library.di.component.AppComponent;

import com.lianxian.xindong.home.di.module.CircleModule;
import com.lianxian.xindong.home.mvp.contract.CircleContract;

import com.hxb.library.di.scope.FragmentScope;
import com.lianxian.xindong.home.mvp.ui.fragment.CircleFragment;


/**
 * @作者：hexingbo
 * @时间：07/04/2023
 * @描述：
 */
@FragmentScope
@Component(modules = CircleModule.class, dependencies = AppComponent.class)
public interface CircleComponent {
    void inject(CircleFragment fragment);

    @Component.Builder
    interface Builder {
        @BindsInstance
        CircleComponent.Builder view(CircleContract.View view);

        CircleComponent.Builder appComponent(AppComponent appComponent);

        CircleComponent build();
    }
}